package com.justgame.project.service.system.service;

import com.justgame.project.cloud.base.entity.CurrentUser;
import com.justgame.project.service.system.entity.SysUserInfo;
import com.justgame.project.service.system.service.basic.BasicSysUserSocialInfoService;
import org.springframework.lang.NonNull;
import org.springframework.web.multipart.MultipartFile;

/**
 *
 * 用户社交信息表服务接口层
 *
 * @@tableName sys_user_social_info
 * @author Zwb
 */
public interface ISysUserSocialInfoService extends BasicSysUserSocialInfoService {
    /**
     * 更新头像
     * @param sysUserInfo 用户信息
     * @param file 文件
     * @return 上传的路径
     */
    String updateAvatar(@NonNull CurrentUser currentUser, @NonNull MultipartFile file);
}
